﻿<UserControl x:Class="frmAddAccount"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     Height="576" Width="1036">
    <Grid Background="Gray">
        <TabControl Margin="0,24,-11,36" Name="TabControl1" Background="Gray">
            <TabItem Header="Company" Name="TabItem1" Background="Gray">
                <Grid Background="Gray">
                    <GroupBox Header="Company Details" Height="185" Margin="3,6,6,0" Name="grpCompany" VerticalAlignment="Top">
                        <Grid Grid.IsSharedSizeScope="True">
                            <Label HorizontalAlignment="Left" Margin="2,6,0,0" Name="Label2" Width="47" Height="23" VerticalAlignment="Top">Name</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="2,37,0,0" Name="Label3" VerticalAlignment="Top" Width="55">Industry</Label>
                            <Label HorizontalAlignment="Left" Margin="2,67,0,74" Name="Label4" Width="47">Size</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="2,0,0,44" Name="Label5" VerticalAlignment="Bottom" Width="55">Website</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="2,0,0,18" Name="Label6" VerticalAlignment="Bottom" Width="47">Status</Label>
                            <ComboBox Height="23" HorizontalAlignment="Left" Margin="65,37,0,0" Name="drpIndustry" VerticalAlignment="Top" Width="190" />
                            <TextBox Height="23.723" HorizontalAlignment="Left" Margin="65,8,0,0" Name="txtCompName" VerticalAlignment="Top" Width="190" />
                            <ComboBox HorizontalAlignment="Left" Margin="64,67,0,74" Name="drpSize" Width="190" />
                            <TextBox Height="23.723" HorizontalAlignment="Left" Margin="64,0,0,44" Name="txtWebsite" VerticalAlignment="Bottom" Width="190" />
                            <ComboBox Height="22.723" HorizontalAlignment="Left" Margin="65,0,0,16" Name="drpStatus" VerticalAlignment="Bottom" Width="134" />
                            <CheckBox Height="16" HorizontalAlignment="Left" Margin="276,8,0,0" Name="chkAddCompAddress" VerticalAlignment="Top" Width="143" IsChecked="True">Add Company Address</CheckBox>
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Contact Details" Margin="5,216,6,43" Name="grpContact" Height="188">
                        <Grid Width="Auto" Height="Auto">
                            <Label Height="23" HorizontalAlignment="Left" Margin="-1,10,0,0" Name="Label7" VerticalAlignment="Top" Width="57">Surname</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="-1,42,0,0" Name="Label8" VerticalAlignment="Top" Width="66">Firstname</Label>
                            <Label HorizontalAlignment="Left" Margin="-1,73,0,73" Name="Label9" Width="31">Title</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="-1,0,0,43" Name="Label10" VerticalAlignment="Bottom" Width="55">Role</Label>
                            <ComboBox HorizontalAlignment="Left" Margin="59,72.4,0,73.4" Name="drpContactTitle" Width="154" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="60,12,0,0" Name="txtContactLName" VerticalAlignment="Top" Width="190" />
                            <ComboBox HorizontalAlignment="Left" Margin="59,0,0,44" Name="drpContactRole" Width="154" Height="22.447" VerticalAlignment="Bottom" />
                            <Label Height="23" Margin="294,12.723,0,0" Name="Label12" VerticalAlignment="Top" HorizontalAlignment="Left" Width="57">Phone</Label>
                            <Label Height="23" Margin="294,43.723,0,0" Name="Label13" VerticalAlignment="Top" HorizontalAlignment="Left" Width="57">Fax</Label>
                            <Label HorizontalAlignment="Left" Margin="294,73.723,0,71.877" Name="Label14" Width="47">Email</Label>
                            <TextBox Height="23" Margin="357,14.723,470,0" Name="txtContactPhone" VerticalAlignment="Top" />
                            <TextBox Height="23" Margin="357,44.723,470,0" Name="txtContactFax" VerticalAlignment="Top" />
                            <TextBox Margin="357,75.123,470,70.677" Name="txtContactEmail" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="60,42,0,0" Name="txtContactFName" VerticalAlignment="Top" Width="190" />
                            <GroupBox Header="Address" HorizontalAlignment="Right" Margin="0,7,341,62" Name="GroupBox2" Width="111">
                                <Grid Height="81" Width="138">
                                    <RadioButton Height="16" Margin="8,6,60,0" Name="radConAddNone" VerticalAlignment="Top">None</RadioButton>
                                    <RadioButton Margin="8,28,60,37" Name="radConAddAdd" IsChecked="True">Add</RadioButton>
                                    <RadioButton Height="16" Margin="8,0,60,15" Name="radConAddCo" VerticalAlignment="Bottom">Company</RadioButton>
                                </Grid>
                            </GroupBox>
                        </Grid>
                    </GroupBox>
                    <CheckBox HorizontalAlignment="Left" Margin="7,197,0,0" Name="chkAddContact" Width="120" Height="15.723" VerticalAlignment="Top" IsChecked="True">Add Contact</CheckBox>
                    <my:AddressControl HorizontalAlignment="Right" Margin="0,14,18,0" Name="Address1" Width="276" xmlns:my="clr-namespace:CRM.CONTROLLIBRARY;assembly=CRM.CONTROLLIBRARY" Height="175" VerticalAlignment="Top" />
                    <my:AddressControl HorizontalAlignment="Right" Margin="0,0,20,62.862" Name="Address2" Width="274" xmlns:my="clr-namespace:CRM.CONTROLLIBRARY;assembly=CRM.CONTROLLIBRARY" Height="175" VerticalAlignment="Bottom" />
                </Grid>
            </TabItem>
            <TabItem Header="Candidate" Background="Gray" Name="tabItem2">
                <Grid Background="Gray" Height="446.8" Width="1014">
                    <GroupBox Header="Candidate Details" Height="183" Margin="3,6,6,0" Name="grpCandidate" VerticalAlignment="Top">
                        <Grid Grid.IsSharedSizeScope="True">
                            <Label HorizontalAlignment="Left" Margin="2,4,0,136.8" Name="Label11" Width="57">Surname</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="2,30,0,0" Name="Label15" VerticalAlignment="Top" Width="66">Firstname</Label>
                            <Label HorizontalAlignment="Left" Margin="2,56,0,0" Name="Label16" Width="47" Height="22.8" VerticalAlignment="Top">Title</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="2,0,0,58" Name="Label17" VerticalAlignment="Bottom" Width="55">DOB</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="2,0,0,34" Name="Label18" VerticalAlignment="Bottom" Width="56">Job Title</Label>
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="74,3,0,0" Name="txtCandLName" VerticalAlignment="Top" Width="145" />
                            <ComboBox HorizontalAlignment="Left" Margin="73,56,0,0" Name="drpCandTitle" Width="94" Height="22.8" VerticalAlignment="Top" />
                            <!--<TextBox Height="23" HorizontalAlignment="Left" Margin="73,0,0,58" Name="txtDOB" VerticalAlignment="Bottom" Width="110" />-->
                            <my:DatePicker Height="23" HorizontalAlignment="Left" Margin="73,0,0,58" Name="txtDOB" VerticalAlignment="Bottom" Width="110" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />

                            <ComboBox Height="22.723" HorizontalAlignment="Left" Margin="74,0,0,5" Name="drpQual" VerticalAlignment="Bottom" Width="145" />
                            <CheckBox Height="16" HorizontalAlignment="Right" Margin="0,0,310,56" Name="chkAddCandAddress" VerticalAlignment="Bottom" Width="129" IsChecked="True">Add Candidate Address</CheckBox>
                            <Label Height="23" HorizontalAlignment="Left" Margin="1,0,0,7" Name="Label26" VerticalAlignment="Bottom" Width="75">Qualification</Label>
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="73,0,0,31" Name="txtJobTitle" VerticalAlignment="Bottom" Width="145" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="73,30,0,0" Name="txtCandFName" VerticalAlignment="Top" Width="145" />
                            <Label Height="23" HorizontalAlignment="Left" Margin="244,5,0,0" Name="Label27" VerticalAlignment="Top" Width="66">Nationality</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="244,33,0,0" Name="Label28" VerticalAlignment="Top" Width="66">Resident</Label>
                            <Label Margin="244,58,694,0" Name="Label29" Height="22.8" VerticalAlignment="Top">U K Visa</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="244,0,0,58" Name="Label30" VerticalAlignment="Bottom" Width="66">Expiry Date</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="244,109,0,0" Name="Label31" VerticalAlignment="Top" Width="75">Passport No</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="243,0,0,6" Name="Label32" VerticalAlignment="Bottom" Width="58">Expires</Label>
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="325,0,0,28" Name="txtPassportNo" VerticalAlignment="Bottom" Width="145" />
                            <ComboBox Height="22.723" HorizontalAlignment="Left" Margin="325,4,0,0" Name="drpNat" VerticalAlignment="Top" Width="145" />
                            <ComboBox Height="22.723" HorizontalAlignment="Left" Margin="325,31,0,0" Name="drpRes" VerticalAlignment="Top" Width="145" />
                            <ComboBox HorizontalAlignment="Left" Margin="325,59,0,0" Name="drpUKVisa" Width="145" Height="22.8" VerticalAlignment="Top" />
                            <!--<TextBox HorizontalAlignment="Left" Margin="325,0,0,56" Name="txtUKVisaExp" Width="111" Height="23" VerticalAlignment="Bottom" />-->
                            <my:DatePicker HorizontalAlignment="Left" Margin="325,0,0,56" Name="txtUKVisaExp" Width="111" Height="23" VerticalAlignment="Bottom" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
                            <!--<TextBox Height="23" HorizontalAlignment="Left" Margin="325,0,0,2" Name="txtPassportExp" VerticalAlignment="Bottom" Width="111" />-->
                            <my:DatePicker Height="23" HorizontalAlignment="Left" Margin="325,0,0,2" Name="txtPassportExp" VerticalAlignment="Bottom" Width="111" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
                            <Label Height="23" Margin="495,6,441,0" Name="Label33" VerticalAlignment="Top">Phone</Label>
                            <Label Height="23" Margin="495,31,441,0" Name="Label34" VerticalAlignment="Top">Fax</Label>
                            <Label Margin="495,58,451,0" Name="Label35" Height="22.8" VerticalAlignment="Top">Email</Label>
                            <TextBox Height="23" HorizontalAlignment="Right" Margin="0,6,294,0" Name="txtCandPhone" VerticalAlignment="Top" Width="145" />
                            <TextBox Height="23" HorizontalAlignment="Right" Margin="0,32,294,0" Name="txtCandFax" VerticalAlignment="Top" Width="145" />
                            <TextBox HorizontalAlignment="Right" Margin="0,59,294,0" Name="txtCandEmail" Width="145" Height="23" VerticalAlignment="Top" />
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Initial Case Notes" Margin="12,205,280,77" Name="GroupBox3">
                        <Grid Height="Auto" Width="Auto">
                            <TextBox Margin="6,8,6,6" Name="txtCaseNotes" />
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Case Details" HorizontalAlignment="Right" Margin="0,205,6,77" Name="GroupBox4" Width="261">
                        <Grid Height="Auto" Width="Auto" Grid.IsSharedSizeScope="True">
                            <Label Height="23" HorizontalAlignment="Left" Margin="7,6,0,0" Name="Label19" VerticalAlignment="Top" Width="57">Branch</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="7,34,0,0" Name="Label20" VerticalAlignment="Top" Width="66">Type</Label>
                            
                            <Label HorizontalAlignment="Left" Margin="9,60,0,63" Name="Label22" Width="55">Product</Label>
                            <Label Height="23" HorizontalAlignment="Left" Margin="7,86,0,0" Name="Label24" VerticalAlignment="Top" Width="75">Where Hear</Label>
                            <ComboBox Height="23" Margin="87,6.2,17,0" Name="drpBranch" VerticalAlignment="Top" Width="145" />
                            <ComboBox Height="22.8" Margin="87,32,17,0" Name="drpCaseType" VerticalAlignment="Top" Width="145" />
                            <ComboBox Margin="87,72,17,74" Name="ComboBox8" Height="23" />
                            <ComboBox Margin="87,58,17,65" Name="drpCaseProduct" Width="145" Height="23" />
                            <ComboBox Height="23" Margin="88,0,16,38" Name="drpCaseWhereHear" VerticalAlignment="Bottom" Width="145" />
                            <Label Height="23" HorizontalAlignment="Left" Margin="7,0,0,10" Name="Label21" VerticalAlignment="Bottom" Width="75">Consultant</Label>
                            <ComboBox Margin="88,111.8,16,11" Name="drpCaseCon" Height="23" />
                        </Grid>
                    </GroupBox>
                    <my:AddressControl HorizontalAlignment="Right" Margin="0,13,23,0" Name="Address3" Width="233" xmlns:my="clr-namespace:CRM.CONTROLLIBRARY;assembly=CRM.CONTROLLIBRARY" Height="175" VerticalAlignment="Top" />
                </Grid>
            </TabItem>
        </TabControl>
        <Label Height="23" HorizontalAlignment="Left" Name="Label1" VerticalAlignment="Top" Width="84" Margin="14,0,0,0">Account to Add</Label>
        <RadioButton Height="16" HorizontalAlignment="Left" Margin="109,5,0,0" Name="radAddCompany" VerticalAlignment="Top" Width="70" IsChecked="True">Company</RadioButton>
        <RadioButton Height="16" HorizontalAlignment="Left" Margin="185,5,0,0" Name="radAddPrivate" VerticalAlignment="Top" Width="120">Private Individual</RadioButton>
        <Button Height="23" HorizontalAlignment="Left" Margin="802,0,0,7" Name="btnSave" VerticalAlignment="Bottom" Width="75">Save</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,38,7" Name="btnClose" VerticalAlignment="Bottom" Width="75" ContentStringFormat="">Close</Button>
        <CheckBox Height="16" HorizontalAlignment="Left" Margin="206,31,0,0" Name="chkAddCandidate" VerticalAlignment="Top" Width="120" Visibility="Hidden"></CheckBox>
    </Grid>
</UserControl>
